package com.msh.demo.server.api;

import com.msh.demo.client.UserVO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("")
public class UserApi {

  @GetMapping("get")
  public UserVO get() {
    UserVO userVO = new UserVO();
    userVO.setId(888L);
    userVO.setAge(22);
    userVO.setName("张三");
    return userVO;
  }
}
